package org.mine.design.flyweight.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.mine.design.flyweight.enums.DemoEnum;
import org.mine.design.flyweight.service.DemoService;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class DemoFlyweightOneServiceImpl implements DemoService {

    @Override
    public void test() {
        log.info("DemoOneServiceImpl...");
    }

    @Override
    public DemoEnum getDemoEnum() {
        return DemoEnum.ONE;
    }
}
